Power Manager Dispatch Routines
This section describes the Power Manager dispatch routines. You can use these routines to
- determine what Power Manager features are available
- set and read the sleep and wakeup timers and disable or disable the sleep timer
- set, read, enable, and disable the timer that dims the screen
- control the hard disk
- get information about the battery
- get and set the state of the internal modem
- control the processing speed of the processor and processor cycling
- get and set the SCSI ID the computer uses in SCSI disk mode
Assembly-language note:
- Note
- The functions in this section are described using the C language interface. The section "Summary of the Power Manager," beginning on page 6-67, includes both Pascal and C interfaces.
![]()
- All the functions in this section share a single trap,
_PowerMgrDispatch
($A09E). The trap is register based: parameters are passed in register D0 and sometimes also in A0. A routine selector value passed in the low word of register D0 determines which routine is executed.![]()
Subtopics
- Determining the Power Manager Features Available
- Controlling the Sleep and Wakeup Timers
- Controlling the Dimming Timer
- Controlling the Hard Disk
- Getting Information About the Internal Batteries
- Controlling the Internal Modem
- Controlling the Processor
- Getting and Setting the SCSI ID
- Application-Defined Routines
- Sleep Procedures
- Hard Disk Spindown Function